<?php
/**
 * --------------------------------------------------------------
 * 角色验证器
 * --------------------------------------------------------------
 * Light Year Doc
 * @author yinq<3331653644@qq.com>
 * --------------------------------------------------------------
 */
namespace app\admin\validate;

use think\Validate;

class AuthGroup extends Validate
{
	protected $rule = [
        'title' => "require|max:20",
    ];
    protected $message = [
	     'title.require' => '角色名称必须填写',
	     'title.max'     => '角色名称最大长度为20个字符',
    ];
}